Security News
Supply Chain Attack Detected in @solana/web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
simple-logging-system
Advanced tools
This is a simple JavaScript logging system written in TypeScript.
By default, it outputs content to the console. However, it can be easily customized to output somewhere else.
This project can be a base to build a more complex logging system like SLF4J/Logback in Java.
const logger = new Logger('MyComponent');
logger.info('Hello world');
It supports multiple arguments:
const logger = new Logger('MyComponent');
try {
throw new Error('Oops');
} catch (e) {
logger.error('An error ocurred!', e);
}
It's easy to change logger appenders:
ApplicationLogger.setLoggerFunction((level: LoggerLevel, loggerName: string, message: string, ...args: any[]) => {
ApplicationLogger.loggerConsole(level, loggerName, message, ...args);
this.logToDatadog(level, loggerName, message, ...args);
});
So it's possible to:
npm login
npm run release
<= yarn must not be usedFAQs
A simple JS Logging system written in TypeScript
The npm package simple-logging-system receives a total of 283 weekly downloads. As such, simple-logging-system popularity was classified as not popular.
We found that simple-logging-system demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.